package com.czb.bean;

import lombok.Data;

import java.sql.*;
@Data
public class Contract {
	private Integer c_id;
	private Integer h_id;
	private Integer l_id;
	private Timestamp c_time;
	private Timestamp c_taketime;
	private Timestamp c_overtime;
	private double c_rental;
	private double c_cash;
	private String c_name;
	private Integer c_status;
	private String h_estate;
	private String h_unitNumber;
	private String h_roomNo;
    private String l_name;
    private String l_addtime;

	public Contract(Integer c_id, Integer h_id, Integer l_id, Timestamp c_time, Timestamp c_taketime, Timestamp c_overtime, double c_rental, double c_cash, String c_name, Integer c_status, String h_estate, String h_unitNumber, String h_roomNo, String l_name, String l_addtime) {
		this.c_id = c_id;
		this.h_id = h_id;
		this.l_id = l_id;
		this.c_time = c_time;
		this.c_taketime = c_taketime;
		this.c_overtime = c_overtime;
		this.c_rental = c_rental;
		this.c_cash = c_cash;
		this.c_name = c_name;
		this.c_status = c_status;
		this.h_estate = h_estate;
		this.h_unitNumber = h_unitNumber;
		this.h_roomNo = h_roomNo;
		this.l_name = l_name;
		this.l_addtime = l_addtime;
	}

	public Contract(){

	}
}

